package com.engine4cloud.tdf.supervision.dto.create;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * 矫正对象审核-审核
 *
 * @author wenjie
 * @date 2024-03-18 15:23:15
 */
@Data
@Schema(description = "矫正对象审核-新增-请求对象")
@NoArgsConstructor
@AllArgsConstructor
public class JzdxAuditCreateDTO implements Serializable {

    /**
     * 矫正对象编号
     */
    @Schema(description = "矫正对象编号", example = "123456789")
    @NotBlank(message = "矫正对象编号不能为空")
    private String rybh;

    /**
     * 审核说明
     */
    @Schema(description = "审核说明", example = "资料不全")
    private String shsm;

    public JzdxAuditCreateDTO(String code) {
        this.rybh = code;
    }
}